home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / U-Z / ViewIt 2.24 Shareware.sit / ViewIt™ 2.24 Shareware / C Demo Projects / THINK C 6.0 Demos / vDemoLC.c < prev    next >
MacBinary  |  1994-04-09  |  4.3 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sat Apr 9 14:36:49 1994, modified Sat Apr 9 14:36:49 1994, creator Think C, type ASCII, 3769 bytes "vDemoLC.c" , at 0xf39 348 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 76 44 65 6d 6f 4c | 43 2e 63 00 00 00 00 00 |..vDemoL|C.c.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 0e b9 00 | 00 01 5c a9 cc a6 41 a9 |........|..\...A.|
|00000060| cc a6 41 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..A.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8d e8 00 00 |........|........|
|00000080| 2f 2a 20 56 69 65 77 49 | 74 20 32 2e 32 20 44 65 |/* ViewI|t 2.2 De|
|00000090| 6d 6f 6e 73 74 72 61 74 | 69 6f 6e 20 50 72 6f 67 |monstrat|ion Prog|
|000000a0| 72 61 6d 20 2a 2f 0d 2f | 2a 20 a9 46 61 63 65 57 |ram */./|* .FaceW|
|000000b0| 61 72 65 20 31 39 39 31 | 2d 39 33 2e 20 20 41 6c |are 1991|-93. Al|
|000000c0| 6c 20 52 69 67 68 74 73 | 20 52 65 73 65 72 76 65 |l Rights| Reserve|
|000000d0| 64 2e 20 2a 2f 0d 0d 23 | 69 6e 63 6c 75 64 65 20 |d. */..#|include |
|000000e0| 22 73 74 72 69 6e 67 2e | 68 22 0d 23 69 6e 63 6c |"string.|h".#incl|
|000000f0| 75 64 65 20 22 46 61 63 | 65 53 74 6f 72 4c 43 2e |ude "Fac|eStorLC.|
|00000100| 68 22 0d 65 78 74 65 72 | 6e 20 73 74 72 75 63 74 |h".exter|n struct|
|00000110| 20 46 61 63 65 52 65 63 | 20 66 52 65 63 3b 0d 0d | FaceRec| fRec;..|
|00000120| 73 68 6f 72 74 20 68 65 | 6c 70 53 68 6f 77 6e 3b |short he|lpShown;|
|00000130| 0d 73 74 72 75 63 74 20 | 7b 0d 09 73 68 6f 72 74 |.struct |{..short|
|00000140| 09 09 6d 79 49 6e 74 65 | 67 65 72 3b 0d 09 66 6c |..myInte|ger;..fl|
|00000150| 6f 61 74 09 09 6d 79 52 | 65 61 6c 3b 0d 09 63 68 |oat..myR|eal;..ch|
|00000160| 61 72 09 09 6d 79 53 74 | 72 69 6e 67 5b 31 30 30 |ar..mySt|ring[100|
|00000170| 5d 3b 0d 09 6c 6f 6e 67 | 09 09 6d 79 46 6c 61 67 |];..long|..myFlag|
|00000180| 73 3b 0d 09 7d 20 6d 79 | 52 65 63 3b 0d 73 68 6f |s;..} my|Rec;.sho|
|00000190| 72 74 20 6d 79 4c 69 73 | 74 3b 0d 6c 6f 6e 67 20 |rt myLis|t;.long |
|000001a0| 6f 6c 64 54 69 63 6b 73 | 2c 6e 65 77 54 69 63 6b |oldTicks|,newTick|
|000001b0| 73 3b 0d 66 6c 6f 61 74 | 20 74 68 65 52 65 61 6c |s;.float| theReal|
|000001c0| 2c 64 65 6c 74 61 3b 0d | 0d 70 61 73 63 61 6c 20 |,delta;.|.pascal |
|000001d0| 76 6f 69 64 20 66 4a 75 | 6d 70 49 74 28 50 74 72 |void fJu|mpIt(Ptr|
|000001e0| 20 74 68 65 50 74 72 29 | 20 3d 20 7b 30 78 32 32 | thePtr)| = {0x22|
|000001f0| 35 37 2c 30 78 32 30 35 | 31 2c 30 78 34 45 39 30 |57,0x205|1,0x4E90|
|00000200| 7d 3b 0d 0d 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |};..pasc|al void |
|00000210| 4f 76 65 72 50 72 6f 63 | 28 50 74 72 20 74 68 65 |OverProc|(Ptr the|
|00000220| 50 74 72 29 20 7b 0d 09 | 69 66 20 28 66 52 65 63 |Ptr) {..|if (fRec|
|00000230| 2e 75 43 6f 6d 6d 61 6e | 64 20 3d 3d 20 32 36 34 |.uComman|d == 264|
|00000240| 29 09 09 09 2f 2a 20 61 | 20 6b 65 79 20 64 6f 77 |).../* a| key dow|
|00000250| 6e 20 6d 65 73 73 61 67 | 65 3f 20 2a 2f 0d 09 09 |n messag|e? */...|
|00000260| 69 66 20 28 66 52 65 63 | 2e 75 50 61 72 61 6d 5b |if (fRec|.uParam[|
|00000270| 30 5d 20 3d 3d 20 33 32 | 29 09 09 2f 2a 20 53 50 |0] == 32|)../* SP|
|00000280| 41 43 45 20 6b 65 79 20 | 70 72 65 73 73 65 64 3f |ACE key |pressed?|
|00000290| 20 2a 2f 0d 09 09 09 66 | 52 65 63 2e 75 50 61 72 | */....f|Rec.uPar|
|000002a0| 61 6d 5b 30 5d 20 3d 20 | 39 35 3b 09 09 09 2f 2a |am[0] = |95;.../*|
|000002b0| 20 63 6f 6e 76 65 72 74 | 20 74 6f 20 55 4e 44 45 | convert| to UNDE|
|000002c0| 52 4c 49 4e 45 20 2a 2f | 0d 09 66 4a 75 6d 70 49 |RLINE */|..fJumpI|
|000002d0| 74 28 74 68 65 50 74 72 | 29 3b 7d 09 09 09 09 09 |t(thePtr|);}.....|
|000002e0| 09 09 2f 2a 20 70 61 73 | 73 20 6d 65 73 73 61 67 |../* pas|s messag|
|000002f0| 65 20 74 6f 20 64 72 69 | 76 65 72 20 2a 2f 0d 0d |e to dri|ver */..|
|00000300| 76 6f 69 64 20 6d 61 69 | 6e 28 29 0d 7b 0d 09 6d |void mai|n().{..m|
|00000310| 79 52 65 63 2e 6d 79 49 | 6e 74 65 67 65 72 20 3d |yRec.myI|nteger =|
|00000320| 20 30 3b 0d 09 6d 79 52 | 65 63 2e 6d 79 52 65 61 | 0;..myR|ec.myRea|
|00000330| 6c 20 3d 20 36 2e 32 3b | 0d 09 73 74 72 63 70 79 |l = 6.2;|..strcpy|
|00000340| 28 6d 79 52 65 63 2e 6d | 79 53 74 72 69 6e 67 2c |(myRec.m|yString,|
|00000350| 22 48 65 6c 6c 6f 22 29 | 3b 0d 09 6d 79 52 65 63 |"Hello")|;..myRec|
|00000360| 2e 6d 79 46 6c 61 67 73 | 20 3d 20 31 30 3b 0d 09 |.myFlags| = 10;..|
|00000370| 6d 79 4c 69 73 74 20 3d | 20 32 3b 0d 09 6f 6c 64 |myList =| 2;..old|
|00000380| 54 69 63 6b 73 20 3d 20 | 30 3b 0d 09 74 68 65 52 |Ticks = |0;..theR|
|00000390| 65 61 6c 20 3d 20 36 2e | 30 3b 0d 0d 2f 2a 20 49 |eal = 6.|0;../* I|
|000003a0| 6e 69 74 69 61 6c 69 7a | 65 20 46 61 63 65 49 74 |nitializ|e FaceIt|
|000003b0| 20 2a 2f 0d 09 73 74 72 | 63 70 79 28 66 52 65 63 | */..str|cpy(fRec|
|000003c0| 2e 75 4e 61 6d 65 2c 20 | 22 76 44 65 6d 6f 2e 52 |.uName, |"vDemo.R|
|000003d0| 73 72 63 22 29 3b 0d 09 | 46 61 63 65 49 74 28 30 |src");..|FaceIt(0|
|000003e0| 2c 44 6f 49 6e 69 74 2c | 30 2c 30 2c 30 2c 30 29 |,DoInit,|0,0,0,0)|
|000003f0| 3b 0d 0d 2f 2a 20 4f 70 | 65 6e 20 4d 6f 64 65 6c |;../* Op|en Model|
|00000400| 65 73 73 20 57 69 6e 64 | 6f 77 20 75 73 69 6e 67 |ess Wind|ow using|
|00000410| 20 46 57 4e 44 20 31 30 | 30 30 20 2a 2f 0d 09 46 | FWND 10|00 */..F|
|00000420| 61 63 65 49 74 28 30 2c | 4e 65 77 57 6e 64 2c 31 |aceIt(0,|NewWnd,1|
|00000430| 30 30 30 2c 31 2c 30 2c | 30 29 3b 0d 0d 09 66 6f |000,1,0,|0);...fo|
|00000440| 72 20 28 3b 3b 29 20 7b | 0d 09 09 46 61 63 65 49 |r (;;) {|...FaceI|
|00000450| 74 28 30 2c 44 6f 4c 6f | 6f 70 2c 30 2c 30 2c 30 |t(0,DoLo|op,0,0,0|
|00000460| 2c 30 29 3b 0d 2f 2a 20 | 53 74 61 6e 64 61 72 64 |,0);./* |Standard|
|00000470| 20 22 41 62 6f 75 74 22 | 20 4d 65 6e 75 20 49 74 | "About"| Menu It|
|00000480| 65 6d 20 53 65 6c 65 63 | 74 69 6f 6e 20 2a 2f 0d |em Selec|tion */.|
|00000490| 09 09 69 66 20 28 28 66 | 52 65 63 2e 75 4d 65 6e |..if ((f|Rec.uMen|
|000004a0| 75 49 44 20 3d 3d 20 31 | 30 31 4c 29 20 26 26 20 |uID == 1|01L) && |
|000004b0| 28 66 52 65 63 2e 75 4d | 65 6e 75 49 74 65 6d 20 |(fRec.uM|enuItem |
|000004c0| 3d 3d 20 31 4c 29 29 20 | 7b 0d 09 09 09 73 74 72 |== 1L)) |{....str|
|000004d0| 63 70 79 28 66 52 65 63 | 2e 75 53 74 72 69 6e 67 |cpy(fRec|.uString|
|000004e0| 2c 20 22 44 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |, "Demon|stration|
|000004f0| 20 6f 66 20 74 68 65 20 | 75 73 65 20 6f 66 20 56 | of the |use of V|
|00000500| 69 65 77 49 74 5c 72 77 | 69 6e 64 6f 77 73 20 69 |iewIt\rw|indows i|
|00000510| 6e 20 61 20 46 61 63 65 | 49 74 2d 62 61 73 65 64 |n a Face|It-based|
|00000520| 20 70 72 6f 67 72 61 6d | 2e 22 29 3b 0d 09 09 09 | program|.");....|
|00000530| 46 61 63 65 49 74 28 30 | 2c 53 68 6f 53 74 72 2c |FaceIt(0|,ShoStr,|
|00000540| 33 2c 31 32 2c 28 31 20 | 2b 20 28 34 30 39 20 2a |3,12,(1 |+ (409 *|
|00000550| 20 36 35 35 33 36 29 29 | 2c 30 29 3b 0d 09 09 09 | 65536))|,0);....|
|00000560| 7d 0d 2f 2a 20 48 69 74 | 20 69 6e 20 4d 6f 64 65 |}./* Hit| in Mode|
|00000570| 6c 65 73 73 20 57 69 6e | 64 6f 77 27 73 20 22 4f |less Win|dow's "O|
|00000580| 70 65 6e 20 4d 6f 64 61 | 6c 22 20 42 75 74 74 6f |pen Moda|l" Butto|
|00000590| 6e 20 2a 2f 0d 09 09 65 | 6c 73 65 20 69 66 20 28 |n */...e|lse if (|
|000005a0| 28 66 52 65 63 2e 75 4d | 65 6e 75 49 44 20 3d 3d |(fRec.uM|enuID ==|
|000005b0| 20 31 30 30 30 4c 29 20 | 26 26 20 28 66 52 65 63 | 1000L) |&& (fRec|
|000005c0| 2e 77 63 48 69 74 20 3d | 3d 20 32 4c 29 29 20 7b |.wcHit =|= 2L)) {|
|000005d0| 0d 09 09 09 46 61 63 65 | 49 74 28 30 2c 4e 65 77 |....Face|It(0,New|
|000005e0| 57 6e 64 2c 31 30 30 31 | 2c 30 2c 30 2c 30 29 3b |Wnd,1001|,0,0,0);|
|000005f0| 09 09 09 09 2f 2a 20 4f | 70 65 6e 20 4d 6f 64 61 |..../* O|pen Moda|
|00000600| 6c 20 57 69 6e 64 6f 77 | 20 2a 2f 0d 09 09 09 66 |l Window| */....f|
|00000610| 6f 72 20 28 3b 3b 29 20 | 7b 0d 09 09 09 09 46 61 |or (;;) |{.....Fa|
|00000620| 63 65 49 74 28 30 2c 4d | 64 6c 57 6e 64 2c 31 30 |ceIt(0,M|dlWnd,10|
|00000630| 30 31 2c 30 2c 30 2c 30 | 29 3b 09 09 09 2f 2a 20 |01,0,0,0|);.../* |
|00000640| 50 72 6f 63 65 73 73 20 | 4d 6f 64 61 6c 20 45 76 |Process |Modal Ev|
|00000650| 65 6e 74 73 20 2a 2f 0d | 09 09 09 09 69 66 20 28 |ents */.|....if (|
|00000660| 66 52 65 63 2e 77 63 48 | 69 74 20 3d 3d 20 2d 31 |fRec.wcH|it == -1|
|00000670| 4c 29 09 09 09 09 09 09 | 2f 2a 20 48 69 74 20 69 |L)......|/* Hit i|
|00000680| 6e 20 43 6c 6f 73 65 20 | 42 6f 78 20 2a 2f 0d 09 |n Close |Box */..|
|00000690| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 09 65 |....brea|k;.....e|
|000006a0| 6c 73 65 20 69 66 20 28 | 66 52 65 63 2e 77 63 48 |lse if (|fRec.wcH|
|000006b0| 69 74 20 3d 3d 20 31 4c | 29 20 7b 09 09 09 2f 2a |it == 1L|) {.../*|
|000006c0| 20 48 69 74 20 69 6e 20 | 22 4f 70 65 6e 20 4e 65 | Hit in |"Open Ne|
|000006d0| 73 74 65 64 22 20 42 75 | 74 74 6f 6e 20 2a 2f 0d |sted" Bu|tton */.|
|000006e0| 09 09 09 09 09 46 61 63 | 65 49 74 28 30 2c 4e 65 |.....Fac|eIt(0,Ne|
|000006f0| 77 57 6e 64 2c 31 30 30 | 32 2c 30 2c 30 2c 28 6c |wWnd,100|2,0,0,(l|
|00000700| 6f 6e 67 29 26 6d 79 52 | 65 63 29 3b 09 09 09 2f |ong)&myR|ec);.../|
|00000710| 2a 20 4f 70 65 6e 20 4e | 65 73 74 65 64 20 4d 6f |* Open N|ested Mo|
|00000720| 64 61 6c 20 2a 2f 0d 09 | 09 09 09 09 46 61 63 65 |dal */..|....Face|
|00000730| 49 74 28 30 2c 47 65 74 | 43 74 6c 2c 31 30 30 32 |It(0,Get|Ctl,1002|
|00000740| 2c 30 2c 33 2c 33 29 3b | 09 09 09 09 09 09 09 09 |,0,3,3);|........|
|00000750| 2f 2a 20 4c 69 6e 6b 20 | 53 63 72 6f 6c 6c 61 62 |/* Link |Scrollab|
|00000760| 6c 65 20 4c 69 73 74 20 | 2a 2f 0d 09 09 09 09 09 |le List |*/......|
|00000770| 46 61 63 65 49 74 28 30 | 2c 4c 6e 6b 43 74 6c 2c |FaceIt(0|,LnkCtl,|
|00000780| 28 6c 6f 6e 67 29 66 52 | 65 63 2e 63 43 6f 6e 74 |(long)fR|ec.cCont|
|00000790| 72 6f 6c 2c 28 6c 6f 6e | 67 29 26 6d 79 4c 69 73 |rol,(lon|g)&myLis|
|000007a0| 74 2c 32 2c 30 29 3b 0d | 09 09 09 09 09 46 61 63 |t,2,0);.|.....Fac|
|000007b0| 65 49 74 28 30 2c 47 65 | 74 43 74 6c 2c 31 30 30 |eIt(0,Ge|tCtl,100|
|000007c0| 32 2c 30 2c 32 2c 33 29 | 3b 09 09 09 09 09 09 09 |2,0,2,3)|;.......|
|000007d0| 09 2f 2a 20 53 65 74 20 | 4f 76 65 72 72 69 64 65 |./* Set |Override|
|000007e0| 20 50 72 6f 63 20 2a 2f | 0d 09 09 09 09 09 46 61 | Proc */|......Fa|
|000007f0| 63 65 49 74 28 30 2c 4f | 76 72 43 74 6c 2c 28 6c |ceIt(0,O|vrCtl,(l|
|00000800| 6f 6e 67 29 66 52 65 63 | 2e 63 43 6f 6e 74 72 6f |ong)fRec|.cContro|
|00000810| 6c 2c 28 6c 6f 6e 67 29 | 26 4f 76 65 72 50 72 6f |l,(long)|&OverPro|
|00000820| 63 2c 30 2c 30 29 3b 0d | 09 09 09 09 09 46 61 63 |c,0,0);.|.....Fac|
|00000830| 65 49 74 28 30 2c 53 65 | 74 56 61 6c 2c 31 30 30 |eIt(0,Se|tVal,100|
|00000840| 32 2c 30 2c 30 2c 30 29 | 3b 09 09 09 09 09 09 09 |2,0,0,0)|;.......|
|00000850| 09 2f 2a 20 53 65 74 20 | 4c 69 6e 6b 65 64 20 56 |./* Set |Linked V|
|00000860| 61 6c 75 65 73 20 2a 2f | 0d 09 09 09 09 09 68 65 |alues */|......he|
|00000870| 6c 70 53 68 6f 77 6e 20 | 3d 20 66 61 6c 73 65 3b |lpShown |= false;|
|00000880| 0d 09 09 09 09 09 66 6f | 72 20 28 3b 3b 29 20 7b |......fo|r (;;) {|
|00000890| 0d 09 09 09 09 09 09 46 | 61 63 65 49 74 28 30 2c |.......F|aceIt(0,|
|000008a0| 4d 64 6c 57 6e 64 2c 31 | 30 30 32 2c 2d 32 2c 30 |MdlWnd,1|002,-2,0|
|000008b0| 2c 30 29 3b 09 09 09 09 | 09 09 09 2f 2a 20 50 72 |,0);....|.../* Pr|
|000008c0| 6f 63 65 73 73 20 4d 6f | 64 61 6c 20 45 76 65 6e |ocess Mo|dal Even|
|000008d0| 74 73 20 2a 2f 0d 09 09 | 09 09 09 09 69 66 20 28 |ts */...|....if (|
|000008e0| 66 52 65 63 2e 75 4d 65 | 6e 75 49 44 20 3d 3d 20 |fRec.uMe|nuID == |
|000008f0| 30 4c 29 20 7b 09 09 09 | 09 09 09 09 09 09 2f 2a |0L) {...|....../*|
|00000900| 20 4e 6f 20 4d 65 73 73 | 61 67 65 20 2a 2f 0d 09 | No Mess|age */..|
|00000910| 09 09 09 09 09 09 6e 65 | 77 54 69 63 6b 73 20 3d |......ne|wTicks =|
|00000920| 20 54 69 63 6b 43 6f 75 | 6e 74 28 29 3b 0d 09 09 | TickCou|nt();...|
|00000930| 09 09 09 09 09 69 66 20 | 28 6e 65 77 54 69 63 6b |.....if |(newTick|
|00000940| 73 20 3e 20 6f 6c 64 54 | 69 63 6b 73 20 2b 20 36 |s > oldT|icks + 6|
|00000950| 30 29 20 7b 0d 09 09 09 | 09 09 09 09 09 6f 6c 64 |0) {....|.....old|
|00000960| 54 69 63 6b 73 20 3d 20 | 6e 65 77 54 69 63 6b 73 |Ticks = |newTicks|
|00000970| 3b 0d 09 09 09 09 09 09 | 09 09 46 61 63 65 49 74 |;.......|..FaceIt|
|00000980| 28 30 2c 47 65 74 43 74 | 6c 2c 31 30 30 32 2c 30 |(0,GetCt|l,1002,0|
|00000990| 2c 32 2c 38 29 3b 0d 09 | 09 09 09 09 09 09 09 53 |,2,8);..|.......S|
|000009a0| 65 74 43 74 6c 56 61 6c | 75 65 28 66 52 65 63 2e |etCtlVal|ue(fRec.|
|000009b0| 63 43 6f 6e 74 72 6f 6c | 2c 28 66 52 65 63 2e 63 |cControl|,(fRec.c|
|000009c0| 56 61 6c 75 65 20 25 20 | 34 29 20 2b 20 31 29 3b |Value % |4) + 1);|
|000009d0| 0d 09 09 09 09 09 09 09 | 09 7d 0d 09 09 09 09 09 |........|.}......|
|000009e0| 09 09 7d 0d 09 09 09 09 | 09 09 65 6c 73 65 20 69 |..}.....|..else i|
|000009f0| 66 20 28 66 52 65 63 2e | 77 76 48 69 74 20 3d 3d |f (fRec.|wvHit ==|
|00000a00| 20 31 4c 29 20 7b 09 09 | 09 09 09 09 09 2f 2a 20 | 1L) {..|...../* |
|00000a10| 48 69 74 20 69 6e 20 56 | 69 65 77 20 23 31 20 2a |Hit in V|iew #1 *|
|00000a20| 2f 0d 09 09 09 09 09 09 | 09 69 66 20 28 66 52 65 |/.......|.if (fRe|
|00000a30| 63 2e 77 63 48 69 74 20 | 3d 3d 20 31 4c 29 09 09 |c.wcHit |== 1L)..|
|00000a40| 09 09 09 09 09 09 09 09 | 2f 2a 20 48 69 74 20 69 |........|/* Hit i|
|00000a50| 6e 20 22 4f 4b 22 20 42 | 75 74 74 6f 6e 20 2a 2f |n "OK" B|utton */|
|00000a60| 0d 09 09 09 09 09 09 09 | 09 62 72 65 61 6b 3b 0d |........|.break;.|
|00000a70| 09 09 09 09 09 09 09 65 | 6c 73 65 20 69 66 20 28 |.......e|lse if (|
|00000a80| 66 52 65 63 2e 77 63 48 | 69 74 20 3d 3d 20 32 4c |fRec.wcH|it == 2L|
|00000a90| 29 20 7b 09 09 09 09 09 | 09 2f 2a 20 48 69 74 20 |) {.....|./* Hit |
|00000aa0| 69 6e 20 22 53 68 6f 77 | 2f 48 69 64 65 22 20 2a |in "Show|/Hide" *|
|00000ab0| 2f 0d 09 09 09 09 09 09 | 09 09 69 66 20 28 68 65 |/.......|..if (he|
|00000ac0| 6c 70 53 68 6f 77 6e 20 | 3d 3d 20 74 72 75 65 29 |lpShown |== true)|
|00000ad0| 20 7b 0d 09 09 09 09 09 | 09 09 09 09 46 61 63 65 | {......|....Face|
|00000ae0| 49 74 28 30 2c 53 68 6f | 43 74 6c 2c 30 2c 30 2c |It(0,Sho|Ctl,0,0,|
|00000af0| 2d 33 2c 32 29 3b 09 09 | 09 09 09 2f 2a 20 48 69 |-3,2);..|.../* Hi|
|00000b00| 64 65 20 76 33 2c 20 53 | 68 6f 77 20 76 32 20 2a |de v3, S|how v2 *|
|00000b10| 2f 0d 09 09 09 09 09 09 | 09 09 09 68 65 6c 70 53 |/.......|...helpS|
|00000b20| 68 6f 77 6e 20 3d 20 66 | 61 6c 73 65 3b 7d 0d 09 |hown = f|alse;}..|
|00000b30| 09 09 09 09 09 09 09 65 | 6c 73 65 20 7b 0d 09 09 |.......e|lse {...|
|00000b40| 09 09 09 09 09 09 09 46 | 61 63 65 49 74 28 30 2c |.......F|aceIt(0,|
|00000b50| 53 68 6f 43 74 6c 2c 30 | 2c 30 2c 2d 32 2c 33 29 |ShoCtl,0|,0,-2,3)|
|00000b60| 3b 09 09 09 09 09 2f 2a | 20 48 69 64 65 20 76 32 |;...../*| Hide v2|
|00000b70| 2c 20 53 68 6f 77 20 76 | 33 20 2a 2f 0d 09 09 09 |, Show v|3 */....|
|00000b80| 09 09 09 09 09 09 68 65 | 6c 70 53 68 6f 77 6e 20 |......he|lpShown |
|00000b90| 3d 20 74 72 75 65 3b 7d | 0d 09 09 09 09 09 09 09 |= true;}|........|
|00000ba0| 09 7d 0d 09 09 09 09 09 | 09 09 7d 0d 09 09 09 09 |.}......|..}.....|
|00000bb0| 09 09 65 6c 73 65 20 69 | 66 20 28 66 52 65 63 2e |..else i|f (fRec.|
|00000bc0| 77 76 48 69 74 20 3d 3d | 20 32 4c 29 09 09 09 09 |wvHit ==| 2L)....|
|00000bd0| 09 09 09 09 2f 2a 20 48 | 69 74 20 69 6e 20 56 69 |..../* H|it in Vi|
|00000be0| 65 77 20 23 32 20 2a 2f | 0d 09 09 09 09 09 09 09 |ew #2 */|........|
|00000bf0| 69 66 20 28 28 66 52 65 | 63 2e 77 63 48 69 74 20 |if ((fRe|c.wcHit |
|00000c00| 3d 3d 20 36 4c 29 7c 7c | 28 66 52 65 63 2e 77 63 |== 6L)|||(fRec.wc|
|00000c10| 48 69 74 20 3d 3d 20 37 | 4c 29 29 20 7b 20 2f 2a |Hit == 7|L)) { /*|
|00000c20| 20 55 70 2f 44 6f 77 6e | 20 41 72 72 6f 77 20 2a | Up/Down| Arrow *|
|00000c30| 2f 0d 09 09 09 09 09 09 | 09 09 46 61 63 65 49 74 |/.......|..FaceIt|
|00000c40| 28 30 2c 47 65 74 43 74 | 6c 2c 31 30 30 32 2c 30 |(0,GetCt|l,1002,0|
|00000c50| 2c 32 2c 28 6c 6f 6e 67 | 29 66 52 65 63 2e 77 63 |,2,(long|)fRec.wc|
|00000c60| 48 69 74 29 3b 0d 09 09 | 09 09 09 09 09 09 64 65 |Hit);...|......de|
|00000c70| 6c 74 61 20 3d 20 30 2e | 30 30 31 20 2a 20 28 66 |lta = 0.|001 * (f|
|00000c80| 52 65 63 2e 63 4d 69 6e | 20 2d 20 32 29 3b 0d 09 |Rec.cMin| - 2);..|
|00000c90| 09 09 09 09 09 09 09 6d | 79 52 65 63 2e 6d 79 52 |.......m|yRec.myR|
|00000ca0| 65 61 6c 20 3d 20 6d 79 | 52 65 63 2e 6d 79 52 65 |eal = my|Rec.myRe|
|00000cb0| 61 6c 20 2b 20 64 65 6c | 74 61 3b 0d 09 09 09 09 |al + del|ta;.....|
|00000cc0| 09 09 09 09 46 61 63 65 | 49 74 28 30 2c 53 65 74 |....Face|It(0,Set|
|00000cd0| 56 61 6c 2c 31 30 30 32 | 2c 30 2c 32 2c 32 29 3b |Val,1002|,0,2,2);|
|00000ce0| 0d 09 09 09 09 09 09 09 | 09 44 65 6c 61 79 28 35 |........|.Delay(5|
|00000cf0| 2c 26 66 52 65 63 2e 75 | 49 34 29 3b 0d 09 09 09 |,&fRec.u|I4);....|
|00000d00| 09 09 09 09 09 7d 0d 09 | 09 09 09 09 09 7d 0d 09 |.....}..|.....}..|
|00000d10| 09 09 09 09 46 61 63 65 | 49 74 28 30 2c 47 65 74 |....Face|It(0,Get|
|00000d20| 56 61 6c 2c 31 30 30 32 | 2c 30 2c 30 2c 30 29 3b |Val,1002|,0,0,0);|
|00000d30| 09 09 09 09 09 09 09 09 | 2f 2a 20 47 65 74 20 4c |........|/* Get L|
|00000d40| 69 6e 6b 65 64 20 56 61 | 6c 75 65 73 20 2a 2f 0d |inked Va|lues */.|
|00000d50| 09 09 09 09 09 46 61 63 | 65 49 74 28 30 2c 45 6e |.....Fac|eIt(0,En|
|00000d60| 64 57 6e 64 2c 31 30 30 | 32 2c 30 2c 30 2c 30 29 |dWnd,100|2,0,0,0)|
|00000d70| 3b 09 09 09 09 09 09 09 | 09 2f 2a 20 43 6c 6f 73 |;.......|./* Clos|
|00000d80| 65 20 4e 65 73 74 65 64 | 20 4d 6f 64 61 6c 20 2a |e Nested| Modal *|
|00000d90| 2f 0d 09 09 09 09 09 7d | 0d 09 09 09 09 7d 0d 09 |/......}|.....}..|
|00000da0| 09 09 46 61 63 65 49 74 | 28 30 2c 45 6e 64 57 6e |..FaceIt|(0,EndWn|
|00000db0| 64 2c 31 30 30 31 2c 30 | 2c 30 2c 30 29 3b 09 09 |d,1001,0|,0,0);..|
|00000dc0| 09 09 2f 2a 20 43 6c 6f | 73 65 20 4d 6f 64 61 6c |../* Clo|se Modal|
|00000dd0| 20 57 69 6e 64 6f 77 20 | 2a 2f 0d 09 09 20 20 7d | Window |*/... }|
|00000de0| 0d 2f 2a 20 48 69 74 20 | 69 6e 20 4d 6f 64 65 6c |./* Hit |in Model|
|00000df0| 65 73 73 20 57 69 6e 64 | 6f 77 27 73 20 22 57 68 |ess Wind|ow's "Wh|
|00000e00| 79 20 56 69 65 77 49 74 | 3f 22 20 42 75 74 74 6f |y ViewIt|?" Butto|
|00000e10| 6e 20 2a 2f 0d 09 09 65 | 6c 73 65 20 69 66 20 28 |n */...e|lse if (|
|00000e20| 28 66 52 65 63 2e 75 4d | 65 6e 75 49 44 20 3d 3d |(fRec.uM|enuID ==|
|00000e30| 20 31 30 30 30 4c 29 20 | 26 26 20 28 66 52 65 63 | 1000L) |&& (fRec|
|00000e40| 2e 77 63 48 69 74 20 3d | 3d 20 33 4c 29 29 20 7b |.wcHit =|= 3L)) {|
|00000e50| 0d 09 09 09 46 61 63 65 | 49 74 28 30 2c 4e 65 77 |....Face|It(0,New|
|00000e60| 57 6e 64 2c 31 30 30 33 | 2c 30 2c 30 2c 28 6c 6f |Wnd,1003|,0,0,(lo|
|00000e70| 6e 67 29 26 74 68 65 52 | 65 61 6c 29 3b 0d 09 09 |ng)&theR|eal);...|
|00000e80| 09 46 61 63 65 49 74 28 | 30 2c 53 65 74 56 61 6c |.FaceIt(|0,SetVal|
|00000e90| 2c 31 30 30 33 2c 30 2c | 30 2c 30 29 3b 0d 09 09 |,1003,0,|0,0);...|
|00000ea0| 09 66 6f 72 20 28 3b 3b | 29 20 7b 0d 09 09 09 09 |.for (;;|) {.....|
|00000eb0| 46 61 63 65 49 74 28 30 | 2c 4d 64 6c 57 6e 64 2c |FaceIt(0|,MdlWnd,|
|00000ec0| 31 30 30 33 2c 30 2c 30 | 2c 30 29 3b 0d 09 09 09 |1003,0,0|,0);....|
|00000ed0| 09 69 66 20 28 66 52 65 | 63 2e 77 63 48 69 74 20 |.if (fRe|c.wcHit |
|00000ee0| 3d 3d 20 31 4c 29 20 62 | 72 65 61 6b 3b 7d 0d 09 |== 1L) b|reak;}..|
|00000ef0| 09 09 46 61 63 65 49 74 | 28 30 2c 47 65 74 56 61 |..FaceIt|(0,GetVa|
|00000f00| 6c 2c 31 30 30 33 2c 30 | 2c 30 2c 30 29 3b 0d 09 |l,1003,0|,0,0);..|
|00000f10| 09 09 46 61 63 65 49 74 | 28 30 2c 45 6e 64 57 6e |..FaceIt|(0,EndWn|
|00000f20| 64 2c 31 30 30 33 2c 30 | 2c 30 2c 30 29 3b 0d 09 |d,1003,0|,0,0);..|
|00000f30| 09 09 7d 0d 09 09 7d 0d | 7d 00 00 00 00 00 00 00 |..}...}.|}.......|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000f90| 74 69 76 65 00 00 00 1f | 00 d2 01 09 00 e2 01 54 |tive....|.......T|
|00000fa0| 00 00 01 00 00 01 00 00 | 00 0a 00 00 00 00 08 49 |........|.......I|
|00000fb0| 09 76 44 65 6d 6f 4c 43 | 2e 63 02 00 00 00 50 61 |.vDemoLC|.c....Pa|
|00000fc0| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 02 |rtSITx..|........|
|00000fd0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 aa 02 9a 2a 00 00 | 00 00 00 00 01 5c 3f ff |.....*..|.....\?.|
|00001000| 02 8e 53 ee ff ea 62 7c | 20 55 20 50 3f 28 00 48 |..S...b|| U P?(.H|
|00001010| 3f 3c 00 01 a8 89 48 6e | ff ce aa 19 48 6e ff c8 |?<....Hn|....Hn..|
|00001020| aa 1a 42 a7 42 27 2f 2e | 00 0e 48 6f 00 06 aa 44 |..B.B'/.|..Ho...D|
|00001030| 54 4f 20 5f 20 50 20 68 | 00 08 2d 48 ff de a0 29 |TO _ P h|..-H...)|
|00001040| 2d 50 ff da 42 a7 42 27 | 20 6e 00 0e 20 50 2f 28 |-P..B.B'| n.. P/(|
|00001050| 00 04 48 6f 00 06 aa 42 | 54 4f 20 5f 20 50 20 68 |..Ho...B|TO _ P h|
|00001060| 00 08 20 50 30 28 00 06 | c0 fc 00 08 4a 70 00 08 |.. P0(..|....Jp..|
|00001070| 67 06 51 40 6c f6 70 00 | 2d 70 00 0a ff d4 3d 70 |g.Q@l.p.|-p....=p|
|00001080| 00 00 00 04 00 06 00 02 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00001090| 6f 6e 61 63 6f 1e 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|000010a0| 00 16 00 00 00 46 00 05 | 74 14 04 c8 00 00 00 1c |.....F..|t.......|
|000010b0| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|000010c0| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 05 71 20 |........|......q |
|000010d0| 03 eb ff ff 00 00 00 08 | 00 05 71 2c 00 00 00 00 |........|..q,....|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+